From 6f17c408e69253a4f3375596aa8514ba7cb5cbb0 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 4 Oct 2013 18:01:31 -0400 Subject: [PATCH] notebook: inform the theme to draw borders when requested When the show-border property is TRUE ask the theme to draw borders on the notebook header. --- gtk/gtknotebook.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 0f113c4cc0..f958d8229b 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -5240,6 +5240,8 @@ gtk_notebook_paint (GtkWidget *widget, } gtk_style_context_add_class (context, GTK_STYLE_CLASS_HEADER); + if (priv->show_border) + gtk_style_context_add_class (context, GTK_STYLE_CLASS_FRAME); gtk_render_background (context, cr, header_x, header_y, header_width, header_height); gtk_render_frame (context, cr, -- 2.30.2